3.139 \(\int \frac{x^5}{a+b x^3+c x^6} \, dx\)

Optimal. Leaf size=63 \[ \frac{b \tanh ^{-1}\left (\frac{b+2 c x^3}{\sqrt{b^2-4 a c}}\right )}{3 c \sqrt{b^2-4 a c}}+\frac{\log \left (a+b x^3+c x^6\right )}{6 c} \]

[Out]

(b*ArcTanh[(b + 2*c*x^3)/Sqrt[b^2 - 4*a*c]])/(3*c*Sqrt[b^2 - 4*a*c]) + Log[a + b*x^3 + c*x^6]/(6*c)

________________________________________________________________________________________

Rubi [A]  time = 0.0578286, antiderivative size = 63, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.278, Rules used = {1357, 634, 618, 206, 628} \[ \frac{b \tanh ^{-1}\left (\frac{b+2 c x^3}{\sqrt{b^2-4 a c}}\right )}{3 c \sqrt{b^2-4 a c}}+\frac{\log \left (a+b x^3+c x^6\right )}{6 c} \]

Antiderivative was successfully verified.

[In]

Int[x^5/(a + b*x^3 + c*x^6),x]

[Out]

(b*ArcTanh[(b + 2*c*x^3)/Sqrt[b^2 - 4*a*c]])/(3*c*Sqrt[b^2 - 4*a*c]) + Log[a + b*x^3 + c*x^6]/(6*c)

Rule 1357

Int[(x_)^(m_.)*((a_) + (c_.)*(x_)^(n2_.) + (b_.)*(x_)^(n_))^(p_.), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplif
y[(m + 1)/n] - 1)*(a + b*x + c*x^2)^p, x], x, x^n], x] /; FreeQ[{a, b, c, m, n, p}, x] && EqQ[n2, 2*n] && NeQ[
b^2 - 4*a*c, 0] && IntegerQ[Simplify[(m + 1)/n]]

Rule 634

Int[((d_.) + (e_.)*(x_))/((a_) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Dist[(2*c*d - b*e)/(2*c), Int[1/(a +
 b*x + c*x^2), x], x] + Dist[e/(2*c), Int[(b + 2*c*x)/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e}, x] &
& NeQ[2*c*d - b*e, 0] && NeQ[b^2 - 4*a*c, 0] &&  !NiceSqrtQ[b^2 - 4*a*c]

Rule 618

Int[((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> Dist[-2, Subst[Int[1/Simp[b^2 - 4*a*c - x^2, x], x]
, x, b + 2*c*x], x] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 628

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[(d*Log[RemoveContent[a + b*x +
c*x^2, x]])/b, x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rubi steps

\begin{align*} \int \frac{x^5}{a+b x^3+c x^6} \, dx &=\frac{1}{3} \operatorname{Subst}\left (\int \frac{x}{a+b x+c x^2} \, dx,x,x^3\right )\\ &=\frac{\operatorname{Subst}\left (\int \frac{b+2 c x}{a+b x+c x^2} \, dx,x,x^3\right )}{6 c}-\frac{b \operatorname{Subst}\left (\int \frac{1}{a+b x+c x^2} \, dx,x,x^3\right )}{6 c}\\ &=\frac{\log \left (a+b x^3+c x^6\right )}{6 c}+\frac{b \operatorname{Subst}\left (\int \frac{1}{b^2-4 a c-x^2} \, dx,x,b+2 c x^3\right )}{3 c}\\ &=\frac{b \tanh ^{-1}\left (\frac{b+2 c x^3}{\sqrt{b^2-4 a c}}\right )}{3 c \sqrt{b^2-4 a c}}+\frac{\log \left (a+b x^3+c x^6\right )}{6 c}\\ \end{align*}

Mathematica [A]  time = 0.0230189, size = 62, normalized size = 0.98 \[ \frac{\log \left (a+b x^3+c x^6\right )-\frac{2 b \tan ^{-1}\left (\frac{b+2 c x^3}{\sqrt{4 a c-b^2}}\right )}{\sqrt{4 a c-b^2}}}{6 c} \]

Antiderivative was successfully verified.

[In]

Integrate[x^5/(a + b*x^3 + c*x^6),x]

[Out]

((-2*b*ArcTan[(b + 2*c*x^3)/Sqrt[-b^2 + 4*a*c]])/Sqrt[-b^2 + 4*a*c] + Log[a + b*x^3 + c*x^6])/(6*c)

________________________________________________________________________________________

Maple [A]  time = 0.003, size = 60, normalized size = 1. \begin{align*}{\frac{\ln \left ( c{x}^{6}+b{x}^{3}+a \right ) }{6\,c}}-{\frac{b}{3\,c}\arctan \left ({(2\,c{x}^{3}+b){\frac{1}{\sqrt{4\,ac-{b}^{2}}}}} \right ){\frac{1}{\sqrt{4\,ac-{b}^{2}}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^5/(c*x^6+b*x^3+a),x)

[Out]

1/6*ln(c*x^6+b*x^3+a)/c-1/3*b/c/(4*a*c-b^2)^(1/2)*arctan((2*c*x^3+b)/(4*a*c-b^2)^(1/2))

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^5/(c*x^6+b*x^3+a),x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [A]  time = 1.51339, size = 443, normalized size = 7.03 \begin{align*} \left [\frac{\sqrt{b^{2} - 4 \, a c} b \log \left (\frac{2 \, c^{2} x^{6} + 2 \, b c x^{3} + b^{2} - 2 \, a c +{\left (2 \, c x^{3} + b\right )} \sqrt{b^{2} - 4 \, a c}}{c x^{6} + b x^{3} + a}\right ) +{\left (b^{2} - 4 \, a c\right )} \log \left (c x^{6} + b x^{3} + a\right )}{6 \,{\left (b^{2} c - 4 \, a c^{2}\right )}}, \frac{2 \, \sqrt{-b^{2} + 4 \, a c} b \arctan \left (-\frac{{\left (2 \, c x^{3} + b\right )} \sqrt{-b^{2} + 4 \, a c}}{b^{2} - 4 \, a c}\right ) +{\left (b^{2} - 4 \, a c\right )} \log \left (c x^{6} + b x^{3} + a\right )}{6 \,{\left (b^{2} c - 4 \, a c^{2}\right )}}\right ] \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^5/(c*x^6+b*x^3+a),x, algorithm="fricas")

[Out]

[1/6*(sqrt(b^2 - 4*a*c)*b*log((2*c^2*x^6 + 2*b*c*x^3 + b^2 - 2*a*c + (2*c*x^3 + b)*sqrt(b^2 - 4*a*c))/(c*x^6 +
 b*x^3 + a)) + (b^2 - 4*a*c)*log(c*x^6 + b*x^3 + a))/(b^2*c - 4*a*c^2), 1/6*(2*sqrt(-b^2 + 4*a*c)*b*arctan(-(2
*c*x^3 + b)*sqrt(-b^2 + 4*a*c)/(b^2 - 4*a*c)) + (b^2 - 4*a*c)*log(c*x^6 + b*x^3 + a))/(b^2*c - 4*a*c^2)]

________________________________________________________________________________________

Sympy [B]  time = 1.28991, size = 223, normalized size = 3.54 \begin{align*} \left (- \frac{b \sqrt{- 4 a c + b^{2}}}{6 c \left (4 a c - b^{2}\right )} + \frac{1}{6 c}\right ) \log{\left (x^{3} + \frac{- 12 a c \left (- \frac{b \sqrt{- 4 a c + b^{2}}}{6 c \left (4 a c - b^{2}\right )} + \frac{1}{6 c}\right ) + 2 a + 3 b^{2} \left (- \frac{b \sqrt{- 4 a c + b^{2}}}{6 c \left (4 a c - b^{2}\right )} + \frac{1}{6 c}\right )}{b} \right )} + \left (\frac{b \sqrt{- 4 a c + b^{2}}}{6 c \left (4 a c - b^{2}\right )} + \frac{1}{6 c}\right ) \log{\left (x^{3} + \frac{- 12 a c \left (\frac{b \sqrt{- 4 a c + b^{2}}}{6 c \left (4 a c - b^{2}\right )} + \frac{1}{6 c}\right ) + 2 a + 3 b^{2} \left (\frac{b \sqrt{- 4 a c + b^{2}}}{6 c \left (4 a c - b^{2}\right )} + \frac{1}{6 c}\right )}{b} \right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**5/(c*x**6+b*x**3+a),x)

[Out]

(-b*sqrt(-4*a*c + b**2)/(6*c*(4*a*c - b**2)) + 1/(6*c))*log(x**3 + (-12*a*c*(-b*sqrt(-4*a*c + b**2)/(6*c*(4*a*
c - b**2)) + 1/(6*c)) + 2*a + 3*b**2*(-b*sqrt(-4*a*c + b**2)/(6*c*(4*a*c - b**2)) + 1/(6*c)))/b) + (b*sqrt(-4*
a*c + b**2)/(6*c*(4*a*c - b**2)) + 1/(6*c))*log(x**3 + (-12*a*c*(b*sqrt(-4*a*c + b**2)/(6*c*(4*a*c - b**2)) +
1/(6*c)) + 2*a + 3*b**2*(b*sqrt(-4*a*c + b**2)/(6*c*(4*a*c - b**2)) + 1/(6*c)))/b)

________________________________________________________________________________________

Giac [A]  time = 1.42903, size = 80, normalized size = 1.27 \begin{align*} -\frac{b \arctan \left (\frac{2 \, c x^{3} + b}{\sqrt{-b^{2} + 4 \, a c}}\right )}{3 \, \sqrt{-b^{2} + 4 \, a c} c} + \frac{\log \left (c x^{6} + b x^{3} + a\right )}{6 \, c} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^5/(c*x^6+b*x^3+a),x, algorithm="giac")

[Out]

-1/3*b*arctan((2*c*x^3 + b)/sqrt(-b^2 + 4*a*c))/(sqrt(-b^2 + 4*a*c)*c) + 1/6*log(c*x^6 + b*x^3 + a)/c